package com.karson.common.request;

import com.karson.common.model.BaseEntity;
import com.karson.common.model.TrackRate;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
@EqualsAndHashCode(callSuper = true)
@Data
public class TrackRequest extends BaseEntity {
    /**
     * 专辑id
     */
    private Integer albumId;

    /**
     * 声音标题
     */
    @NotNull
    private String trackTitle;

    /**
     * 声音在专辑中的排序值，从1开始依次递增，值越小排序越前
     */
    private Integer orderNum;

    /**
     * 声音封面图url
     */
    private String coverUrl;

    /**
     * 声音媒体时长，单位秒
     */
    @NotNull
    private BigDecimal mediaDuration;


    private String status;
}
